<div *ngIf="!progress" class="counter">
  <div class="counter" *ngFor="let point of points">
    <div [style.background]="'var(--color-'+point.color+'-default)'" [class]="'point '+point.className "></div>
  </div>
</div>
<div *ngIf="progress">
  <nb-progress-bar [value]="value" [status] = "progressStatus(value)"></nb-progress-bar>
</div>
